<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>管理系统</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <link type="text/css" rel="stylesheet" href="${_appPath!}/css/index.css"/>
  <script type="text/javascript" src="${_appPath!}/js/page.js"></script>
  <script type="text/javascript" src="${_appPath!}/js/index.js"></script>
  <script>if(self!=top){top.location=self.location;} </script>
</head>
<body>
<div class="pdoc">
  <div class="phead">
    <div class="logo"></div>
    <div class="lghead">
      <div id="div_lginfo" class="lgbox">
        <div class="lginfo">
          <div class="opuser">${sysUser.userInfo.chName!}<sub>${sysUser.userCode!}</sub></div>
          <div class="opshop"><div id="div_chgshop" class="shopop" style="display:none;" onclick="eventCancel(event);"><ul><#if shopList??><#list shopList as t><li onclick="chgShop('${t.code}');">${t.code} - ${t.chName!}</li></#list></#if></ul></div><@value type="shopName" key="${sysUser.shopCode!}"/>（<a onclick="showChgShop(event);">更换</a>）</div>
          <div class="lgdetail">
            <div class="opgroup"><@value type="userGroup" key="${sysUser.userInfo.groupCode!}"/></div>
            <div class="logout"><a onclick="logout();">退出</a></div>
            <div class="help"><a href="">帮助中心</a></div>
            <div class="separator">|</div>
            <div class="chgpwd"><a onclick="fmopen('chgpwd');chglgmore();">修改密码</a></div>
          </div>
          <div class="separator">|</div>
          <div class="notice"><a onclick="fmopen('sysMessageRead/list');">门店通知</a><em id="sp_msgnum">${sysUser.msgNum!}</em></div>
          <div class="more" onclick="chglgmore();"></div>
        </div>
      </div>
    </div>
    <div class="topNav" id="div_topnav"></div>
  </div>

  <div class="pbody">
    <div class="leftNav" id="div_leftnav"></div>

    <div class="pmain">
      <div class="tabsFrm" onselectstart="return false;" style="-moz-user-select:none;">
        <div id="dv_tabs" class="tabsNav"><table id="tb_tabs"><tr></tr></table></div></div>
      <div id="dv_ifms" style="padding-top:10px;"><table id="tb_ifms" class="ifms"><tr></tr></table></div>
    </div>

  </div>

</div>

<script type="text/javascript">loadMenu();</script>

<div id="div_fwbg" style="display:none;"></div>
<div id="div_login" class="popup" style="display:none; width:300px; margin-left:-150px; margin-top:-80px; ">
  <div class="title"><span>登录</span><a title="关闭" href="javascript:showLogin(false);">×</a></div>
  <form id="fm_login" method="post" action="${_appPath!}/_login" onsubmit="return login(this);" style="margin:10px;">
    <input type="hidden" name="shopCode" value="${sysUser.shopCode!}">
    <table class="input" width="100%">
      <tr><th>用户名：</th><td><input type="text" name="loginName" req="用户名" size="16" maxlength="20" value="${sysUser.userCode!}" readonly /></td></tr>
      <tr><th>密　码：</th><td><input type="password" name="password" req="密码" size="16" maxlength="20" /></td></tr>
      <tr><td colspan="2" class="button"><input type="submit" value="登录" /></td></tr>
    </table>
  </form>
</div>

</body>
</html>
